using UnityEngine;
using System.Collections;
using UnityEditor;

[CustomEditor(typeof(Cenario))]
public class CenarioEditor : Editor
{

    public override void OnInspectorGUI()
    {
        Cenario cenario = (Cenario)target;

        cenario.transform.position = new Vector3(
            (int)cenario.transform.position.x,
            (int)cenario.transform.position.y,
            (int)cenario.transform.position.z);
    }

}
